home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / codecs / qdmediahandler / winprefix.h < prev   
Encoding:
Text File  |  2000-09-28  |  838 b   |  25 lines

  1. // WinPrefix.h
  2. // prefix file for our Windows projects
  3.  
  4. #ifndef __Prefix_File__
  5. #define __Prefix_File__
  6.  
  7. #if !defined(_MSC_VER)
  8. #include <Win32Headers.mch>
  9. #else
  10. #include <ConditionalMacros.h>
  11. #endif
  12.  
  13. // Definitions for the project
  14. #define PASCAL_RTN
  15.  
  16. // if we're being compiled by Microsoft Visual C++, turn off some warnings
  17. #if defined(_MSC_VER) && !defined(__MWERKS__) 
  18.     #pragma warning(disable:4068)        // ignore unknown pragmas
  19.     #pragma warning(disable:4244)        // ignore conversion from "long" to "short", possible loss of data
  20.     #pragma warning(disable:4761)        // ignore integral size mismatch in argument: conversion supplied
  21.     #pragma warning(disable:4129)        // ignore 'p': unrecognized character escape sequence
  22.     #pragma warning(disable:4229)        // ignore anachronism used: modifiers on data are ignored
  23. #endif
  24.  
  25. #endif    // __Prefix_File__